#ifndef FIRST_NOTE_DIALOG_H
#define FIRST_NOTE_DIALOG_H

#include <QDialog>

class QRadioButton;
class QWidget;

class MusicSettings;

/*
 *! Boîte de dialogue pour configurer le degré de la première note
 */
class FirstNoteDialog: public QDialog {
  Q_OBJECT;

  public:
    FirstNoteDialog(MusicSettings *, QWidget *parent = 0);

  private:
    MusicSettings *settings;

    QRadioButton *undefined_degree;
    QRadioButton *tonic;
    QRadioButton *supertonic;
    QRadioButton *mediant;
    QRadioButton *subdominant;
    QRadioButton *dominant;
    QRadioButton *submediant;
    QRadioButton *leading;

    void initialize();

  private slots:
    void validate();

};

#endif
